package com.example.tupu.repository;

import com.example.tupu.entity.Riverway;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RiverwayRepository extends Neo4jRepository<Riverway,Long> {
    List<Riverway> findAllByTitle(String title);
    List<Riverway> findAllByTitle(Iterable title);
    List<Riverway> findAllByTitleLike(String title);
}
